﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RedesII_DTL;
using RedesII_DAL;

namespace RedesII_BLL
{
    public class EquipmentServiceBo
    {
        public EquipmentServiceDto GetById(int id)
        {
            EquipmentServiceDao user = new EquipmentServiceDao();
            return user.GetById(id);
        }

        public void InsertEquipmentService(EquipmentServiceDto equipmentservice)
        {
            equipmentservice._DataHoraCriacao = DateTime.Now;
            new EquipmentServiceDao().InsertEquipmentService(equipmentservice);
        }
    }
}
